package com.wzdigit.wms.basic.domain.inv;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.wzdigit.framework.orm.model.BasicDomain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 库存初始化数据临时表
 * </p>
 *
 * @author 
 * @since 2021-08-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("WMS_INV_INIT_TEMP")
@KeySequence(value = "WMS_INV_INIT_TEMP_SEQ", clazz = Integer.class)
public class InvInitTemp extends BasicDomain {

    private static final long serialVersionUID = 1L;

    /**
     * INV_INIT_ID
     */
    @TableId(value = "INV_INIT_ID", type = IdType.INPUT)
    private Integer invInitId;

    /**
     * ERP仓库
     */
    @TableField("WHS_ERP")
    private String whsErp;

    /**
     * WMS仓库
     */
    @TableField("WHS")
    private Integer whs;

    /**
     * 物料编码
     */
    @TableField("SKU_CODE")
    private String skuCode;

    /**
     * 物料ID
     */
    @TableField("SKU_ID")
    private Integer skuId;

    /**
     * 工厂代码
     */
    @TableField("FACTORY")
    private String factory;

    /**
     * 品质状态
     */
    @TableField("QA_STATUS")
    private Integer qaStatus;

    /**
     * 账面数量
     */
    @TableField("BOOK_QTY")
    private BigDecimal bookQty;

    /**
     * 实际数量
     */
    @TableField("ACT_QTY")
    private BigDecimal actQty;

    /**
     * 备注
     */
    @TableField("COMMENTS")
    private String comments;
}
